package com.lry.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

@ConfigurationProperties(prefix = "ea.notice")
public class EaNoticeProperties {
    private boolean async = false;

    private String type;

    private List<String> includeHeaderName = new ArrayList<String>();


    public List<String> getIncludeHeaderName() {
        return includeHeaderName;
    }

    public void setIncludeHeaderName(List<String> includeHeaderName) {
        this.includeHeaderName = includeHeaderName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isAsync() {
        return async;
    }

    public void setAsync(boolean async) {
        this.async = async;
    }
}
